package com.lsp.server.user.controller;

import com.lsp.server.common.Apiresponse;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName ApiControllet
 * @Description TODO
 * @Author Mr Hao
 * @Date 2021/12/6 17:10
 */
@RestController
@RequestMapping("/api")
public class ApiControllet {

    @PostMapping("/getName")
    public Apiresponse getName(){
        return Apiresponse.success("haozhenkun");
    }
}
